package com.example.xyxwebbackend001.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("article")
public class Article {
    @TableId(type = IdType.AUTO)
    private Integer artId;
    private String title;
    private String summary;
    private String author;
    private String cityId;
    private String tags;
    private Integer viewCounts;
    private String createTime;
    private String updateTime;
}
